package com.sports.demo.req;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import lombok.Data;

@Data
public class PageReq {

    private int page = 1;

    private int limit = 10;

    public IPage getPlusPage() {
        return new Page(this.getPage(), this.getLimit());
    }
}
